//
//  Type.m
//  CS Inventory Manager
//
//  Created by Billy Zoellers on 2/26/13.
//  Copyright (c) 2013 Transylvania University. All rights reserved.
//

#import "Type.h"

@implementation Type

@synthesize typeId,name,manufacturer,items,myCategory;

- (id)init {
    self = [super init];
    if (self) {
        items = [[NSMutableArray alloc] init];
    }
    return self;
}

-(NSString *)manufacturerAndName {
    
    NSMutableString *string = [[NSMutableString alloc] initWithString:manufacturer];
    [string appendString:@" "];
    [string appendString:name];
    
    return string;
    
}

@end
